from .local_urls import local_urlpatterns
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path


urlpatterns = (
    [
        path("admin/", admin.site.urls),
        path("", include("helpdesk.urls", namespace="helpdesk")),
        path("api/auth/", include("rest_framework.urls", namespace="rest_framework")),
    ]
    + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
    + local_urlpatterns
)
